package com.zimmur.app.mocolink.dao;

import com.zimmur.app.mocolink.domain.model.OrderExpress;
import com.zimmur.app.mocolink.domain.model.OrderExpressExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OrderExpressMapper {
    int countByExample(OrderExpressExample example);

    int deleteByExample(OrderExpressExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(OrderExpress record);

    int insertSelective(OrderExpress record);

    List<OrderExpress> selectByExampleWithBLOBs(OrderExpressExample example);

    List<OrderExpress> selectByExample(OrderExpressExample example);

    OrderExpress selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") OrderExpress record, @Param("example") OrderExpressExample example);

    int updateByExampleWithBLOBs(@Param("record") OrderExpress record, @Param("example") OrderExpressExample example);

    int updateByExample(@Param("record") OrderExpress record, @Param("example") OrderExpressExample example);

    int updateByPrimaryKeySelective(OrderExpress record);

    int updateByPrimaryKeyWithBLOBs(OrderExpress record);

    int updateByPrimaryKey(OrderExpress record);
    /**
     * 根据订单ID查询
     *@Description
     *@param orderId
     *@return 
     *@author zcx
     *@Time 2017年10月27日 下午3:18:47
     */
    OrderExpress selectByOrderId(Integer orderId);
}